package com.moon.dto;


import com.moon.entity.TAuction;

import java.io.Serializable;
import java.util.List;

public class ProductVo implements Serializable {

    /**
     * 商品id
     */
    private Long id;

    /**
     * 卖家id
     */
    private Long sellerId;

    /**
     * 商品名
     */
    private String productName;

    /**
     * 商品详情
     */
    private String productDetail;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 商品图
     */
    private List<String> productImgList;

    /*
     * 竞拍室集合
     */
    private List<TAuction> auctionList;

    /*
     * 进行中的竞拍
     */
    private TAuction auction;

    private static final long serialVersionUID = 1L;

    /**
     * 获取商品id
     *
     * @return id - 商品id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置商品id
     *
     * @param id 商品id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取卖家id
     *
     * @return seller_id - 卖家id
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * 设置卖家id
     *
     * @param sellerId 卖家id
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * 获取商品名
     *
     * @return product_name - 商品名
     */
    public String getProductName() {
        return productName;
    }

    /**
     * 设置商品名
     *
     * @param productName 商品名
     */
    public void setProductName(String productName) {
        this.productName = productName;
    }

    /**
     * 获取商品详情
     *
     * @return product_detail - 商品详情
     */
    public String getProductDetail() {
        return productDetail;
    }

    /**
     * 设置商品详情
     *
     * @param productDetail 商品详情
     */
    public void setProductDetail(String productDetail) {
        this.productDetail = productDetail;
    }

    /**
     * 获取状态
     *
     * @return status - 状态
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置状态
     *
     * @param status 状态
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取商品图
     */
    public List<String> getProductImgList() {
        return productImgList;
    }

    /**
     * 设置商品图
     *
     * @param productImgList 商品图
     */
    public void setProductImgList(List<String> productImgList) {
        this.productImgList = productImgList;
    }

    public List<TAuction> getAuctionList() {
        return auctionList;
    }

    public void setAuctionList(List<TAuction> auctionList) {
        this.auctionList = auctionList;
    }

    public TAuction getAuction() {
        return auction;
    }

    public void setAuction(TAuction auction) {
        this.auction = auction;
    }
}
